<template>
  <div class="goods">
    <goods-list-item v-for="(item, index) in goods" :goodsItem="item" :key="index"/>
  </div>
</template>

<script>
import GoodsListItem from "./GoodsListItem";

export default {
  props: {
    goods: {
      type: Array,
      default: [],
    },
  },
  components: {
    GoodsListItem,
  },
};
</script>

<style>
.goods {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}
</style>